﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string app_id = "296010147167377";
        string app_secr = "390d195e3cb50ab79392c33e53b546ca";
        string app_url = "";
    }



    protected void btnUpload_Click(object sender, EventArgs e)
    {
        //string url = "http://revio.ge";
        //string login = "https://www.facebook.com/dialog/oauth?client_id=296010147167377" +
        //               "&redirect_uri=" + url + "&state=" + Guid.NewGuid().ToString();

        //string url = "https://graph.facebook.com/oauth/access_token?"+
        //                "client_id=296010147167377" +
        //                "&redirect_uri=http://revio.ge" +
        //                "&client_secret=390d195e3cb50ab79392c33e53b546ca" +
        //                "&code=AQBTpg0PG1e2ADPwrBaJMSmJzTssGC1F1k2odZA79QmfPfgY-GGVeL4FpkXEbnT0an4Q5X_GwhToHFhHQ7bOxuX4TIB9WhhZ_MUxoJ3hWssSNhUKfHT0mAVuwmjds0UcC2ZLDY9G85xMraZVW3qRb5F8N750H3JLUJs8umCABZuAH9fTn9ep98RMqKyb_3Rb1lhPlTQwEMkUvBi-HH0KRKph#_=_";
    }
}//https://graph.facebook.com/oauth/access_token?client_id=296010147167377&redirect_uri=http://revio.ge&client_secret=390d195e3cb50ab79392c33e53b546ca&code=AQCYmdKL7_eNZ-ISZ00pXvsL8G7NejVQZ9r9o20ARLUaAvg7d66oqVzWzlkkcxPAtM0w2CMFH-Gx_v-bhmkqwNUBk2mbFQ4ZGmXACbOnt7iVWpVvnQ81pPikTmsPJdhRQ2MyQWv-OwMmq85vHBdEGcTXuzQLYnT1SfVSCMu2uNVOScIW76ftutgApU2X7Za7HXozLoEiaOiCtLxeU5ZZBq18#_=